package com.zhengtoudai.http.callback;

/**
 * 作者：黑哥 on 2016/8/25 11:24
 */
public interface ApiCallback<T>  {

    void onSuccess(T model);

    void onFailure(int code, String msg);

    void onCompleted();

    void onError(Throwable e);
}
